| abstract class $NEXT{T} |
|---|
| **** | The interface obeyed by classes which include NEXT{T}. |
| append(l:T); |
|---|
| **** | Append the list `l' to the end of the list self. self may not be void but `l' may be. |
| insert(e:T); |
|---|
| **** | Insert the single element `e' after self. Neither may be void. |
| next:T; |
|---|
| **** | Pointer to next element in list, if any. |
| next(e:T); |
|---|
| **** | Set next pointer to `e'. |
| size:INT; |
|---|
| **** | The number of elements in the list starting with self. Self may be void. |